package com.niiwoo.civet.trade.dto.response;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by lujing on 2018/5/14.
 */
@Setter
@Getter
public class InvestStatusResponseDTO implements Serializable {
    private static final long serialVersionUID = 4369461195471810876L;
    private String headImg;
    private String nickName;
    private Integer deadline;
    private Byte deadlineUnit;
    private BigDecimal borrowRate;
    private BigDecimal addRate;
    private Byte status;
    private BigDecimal amount;
    //参考收益/已赚收益(待收利息+平台或活动加息+加息券加息)
    private BigDecimal referenceIncome;
    // 预期利息/已收利息
    private BigDecimal interest;
    // 已收罚息
    private BigDecimal penaltyFee;
    // 平台或活动加息
    private BigDecimal platformAddInterest;
    // 加息券加息
    private BigDecimal prizeAddInterest;
    private Byte productType;
    private String productTypeDesc;
    private Byte repaymentType;
    private String prize;
    private Date submitTime;
    private Date orderCloseTime;
    private Long remainRecuitTime;
    private Date calInterTime;
    private Date expireTime;
    private Date endTime;
    private String message;
    private Long orderId;
    private Integer repayPeriod;
    private Date repayTime;
    private BigDecimal repayAmount;
    private Integer totalRepayPeriods;
    private BigDecimal totalRepayPriInter;
    private BigDecimal fullScaleAmount;
    private Integer currentPeriod;
    private BigDecimal currentTotalAmount;
    private BigDecimal currentRepayAmount;
    private Byte isCanInvest;
    private BigDecimal contractAmount;
    private BigDecimal transferAmount;
    private Long projectId;
    private BigDecimal ricevutoAmount;
    private Long creditorSaleDetailId;
    private String creditorSaleUserId;
    private Integer remainingDeadlineMonth;
    private Integer remainingDeadlineDay;
    private Boolean isShowProjectGroup = false;
    private Boolean isEnterpriseProject = false;
    private Boolean isShowOtherLoanTypeLabel = false;

    private BigDecimal creditorPrincipal; //债权本金
    private BigDecimal discountAmount;    //折让金额
    private BigDecimal assigneeInterest;  //受让利息
    private Byte investType;
}
